#if UNITY_EDITOR
#if UNITY_EDITOR

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;

[CustomEditor(typeof(PanelCommon),true)]
public class UICommonPanInspector : Editor
{

    public override void OnInspectorGUI()
    {
        base.OnInspectorGUI();

        PanelCommon _this = this.target as PanelCommon;

        if (GUILayout.Button("Show"))
        {
            _this.PlayShowAnim();
        }
        if (GUILayout.Button("Hide"))
        {
            _this.PlayHideAnim();
        }
    }
}

#endif
#endif